package com.software.frontend.mine.entity;

import android.graphics.Bitmap;

public class Fans {
    private boolean hasReAction;
    private String name;
    private int timeLate;
    private Bitmap head;

    public Fans() {
    }

    public Fans(boolean hasReAction, String name, int timeLate, Bitmap head) {
        this.hasReAction = hasReAction;
        this.name = name;
        this.timeLate = timeLate;
        this.head = head;
    }

    public boolean isHasReAction() {
        return hasReAction;
    }

    public void setHasReAction(boolean hasReAction) {
        this.hasReAction = hasReAction;
    }

    public Bitmap getHead() {
        return head;
    }

    public void setHead(Bitmap head) {
        this.head = head;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getTimeLate() {
        return timeLate;
    }

    public void setTimeLate(int timeLate) {
        if (timeLate < 0){
            this.timeLate = 0;
        }else {
            this.timeLate = timeLate;
        }
    }
}
